home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / CheckBreak < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      CheckBreak(31.0)      ARP Programmers Manual      CheckBreak(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       CheckBreak - Check for control C/D/E/F
  10.  
  11.      SYNOPSIS
  12.       BOOL = CheckAbort( Mask, (*Func)() )
  13.        d0               D1     A1
  14.  
  15.      FUNCTION
  16.       This function    checks for user    signals    as specified by    Mask,
  17.       calling an optional user function or returning the signals
  18.       received to the caller.
  19.  
  20.      INPUTS
  21.       Mask - One (or more) of SIGBREAKF_CTRL_C/D/E/F masks.
  22.  
  23.       (*Func)() - an (optional) function to    call if    the BREAK
  24.           occured.
  25.  
  26.      RESULT
  27.       BOOL - If none of the    signals    specified in Mask were
  28.           received, then return    FALSE.    Otherwise, if
  29.           (*Func)() is NON-NULL, call the user defined
  30.           function, returning this value to caller.
  31.           Otherwise, return the    signal masks as    received.  For
  32.           this function, we guarantee all registers preserved,
  33.           except for D0, which will hold the masks.  The user
  34.           function may check D0    to determine which signals
  35.           were received.
  36.  
  37.       Assembly language programmers    are provided with a pointer to
  38.       a "***BREAK" string in A1, suitable for a direct call    to
  39.       Puts() if desired.
  40.  
  41.      BUGS
  42.       None known.
  43.  
  44.      AUTHOR
  45.       SDB
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.